package gui.controller.actions;

import gui.model.model;

import java.awt.event.ActionEvent;

import javax.swing.AbstractAction;

public class BuySellAction extends AbstractAction{

	private model m;
	
	/**
	 * Constructor, takes model as a parameter
	 */
	public BuySellAction(model m)
	{
		this.m = m;
	}
	@Override
	public void actionPerformed(ActionEvent arg0) {
		
		m.getBuySellFrame().setVisible(true); //show buy/sell stocks frame
	}

}
